home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 March / EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso / earcd / util4 / noiz.lha / md5.h < prev    next >
C/C++ Source or Header  |  1995-12-29  |  528b  |  23 lines

  1. #ifndef MD5_H
  2. #define MD5_H
  3.  
  4. typedef unsigned long uint32;
  5.  
  6. struct MD5Context {
  7.         uint32 buf[4];
  8.         uint32 bits[2];
  9.         unsigned char in[64];
  10. };
  11.  
  12. void MD5Init(struct MD5Context *context);
  13. void MD5Update(struct MD5Context *context, unsigned char *buf, unsigned len);
  14. void MD5Final(unsigned char digest[16], struct MD5Context *context);
  15. void MD5Transform(uint32 buf[4], uint32 in[16]);
  16.  
  17. /*
  18.  * This is needed to make RSAREF happy on some MS-DOS compilers.
  19.  */
  20. typedef struct MD5Context MD5_CTX;
  21.  
  22. #endif /* !MD5_H */
  23.